<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/book/front/include/taglib.jsp" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>图书详情</title>
    <meta name="viewport"  content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <script type="text/javascript">
        var FINAL_COUNT = ${fns:getDictValue('search','selfCountDown' ,'200')}
    </script>
    <%@ include file="/WEB-INF/views/include/common.jsp" %>
    <%@ include file="/WEB-INF/views/include/countDown.jsp" %>
    <style type="text/css">
        .accordion-heading, .table th{ background-image:none; width: 20%; text-align: right; padding-right: 5px; height: 30px; font-size: 20px; }
    </style>
</head>
<body>
<div class="page-header">
    <div class="row">
        <div class="col-md-offset-1 col-md-9">
            <h1>智能图书馆借还系统</h1>
        </div>
    </div>
</div>

<div style="width: 18%;height: 300px; float: left;padding:1%;">
    <c:if test="${empty bkBookinfo.tubiao}">
        <img src="${ctxStatic}/images/book-default-small.gif" width="80%">
    </c:if>
    <c:if test="${not empty bkBookinfo.tubiao}">
        <img src="${bkBookinfo.tubiao}">
    </c:if>
</div>
<div style="width: 79%;text-align:center;padding-top: 5px;padding-left: 5px;float: left;font-size: 16px;">
    <h3 style="float: left;margin-top: 20px;margin-bottom: 20px">
        <span>${bkBookinfo.bookname}<c:if test="${not empty bkBookinfo.othername}">-${bkBookinfo.othername}</c:if></span>，
        ${bkBookinfo.author}
    </h3>
    <table id="contentTable" style="width: 90%;" class="table table-bordered table-condensed">
        <tr>
            <th>ISBN</th>
            <td>${bkBookinfo.isbn}</td>
        </tr>
        <tr>
            <th>版次标识</th>
            <td><span>版次标识：${bkBookinfo.edition}</span></td>
        </tr>
        <tr>
            <th>语种</th>
            <td>${bkBookinfo.lagclass}</td>
        </tr>
        <tr>
            <th>题名</th>
            <td>
                <span>${bkBookinfo.bookname}</span><c:if
                    test="${not empty bkBookinfo.othername}"> -<span>${bkBookinfo.othername}</span></c:if>
                <span>${bkBookinfo.pinyin}</span>
                <span>/${bkBookinfo.author}</span>
            </td>
        </tr>
        <tr>
            <th>内容简介</th>
            <td>${bkBookinfo.remarks}</td>
        </tr>
        <tr>
            <th>类型</th>
            <td>${bkBookinfo.ztc}</td>
        </tr>
        <tr>
            <th>中图分类</th>
            <td>
                <span>${bkBookinfo.classcode}</span>
                <c:if test="${not empty bkBookinfo.version}">
                    <span>版次：${bkBookinfo.version}</span>
                </c:if>
            </td>
        </tr>
        <tr>
            <th>主题</th>
            <td>
                <span>${bkBookinfo.theme}</span>
            </td>
        </tr>
        <tr>
            <th>出版发行</th>
            <td>
                <span>出版地 ：${bkBookinfo.pubplace}</span>
                <span>出版社：${bkBookinfo.publisher}</span>
                <span>出版时间：${bkBookinfo.pubdate}</span>
            </td>
        </tr>
        <tr>
            <th>价格</th>
            <td>${bkBookinfo.price}</td>
        </tr>
        <tr>
            <th>书架号</th>
            <td>
                <c:if test="${not empty bkBookinfo.bookstore.shelf}">
                    ${bkBookinfo.bookstore.shelf.name}
                </c:if>
            </td>
        </tr>
        <tr>
            <th>可借数量</th>
            <td>
                <c:if test="${not empty bkBookinfo.bookstore}">
                    ${bkBookinfo.bookstore.totalCount}
                </c:if>
            </td>
        </tr>
    </table>
</div>
</body>
</html>